package com.song.cloud.streamRabbitmq.controller;

import com.song.cloud.streamRabbitmq.service.streamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author ZhangGuisong
 * @Date 2021/2/26-22:28
 */
@RestController
public class streamController {
    @Autowired
    private streamService streamService;
    @GetMapping("/sendMessage")
    public String sendMessage() {
        return streamService.send();
    }

}
